package com.woniuxy.service.impl;

import com.woniuxy.dao.UserDao;
import com.woniuxy.entity.User;
import com.woniuxy.service.UserService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: 曾令忠
 * @Description:
 * @Date: 2020/7/3 0003-上午 10:27
 */
@Service
public class UserServiceImpl implements UserService {

    @Autowired
    UserDao userDao;

    @Override
    public User findUserByName(String uname) {
        return userDao.findUserByName(uname);
    }
}
